package org.jash.mvp2206.news;

import org.jash.mvp2206.entity.NewsPage;
import org.jash.mvp2206.mvp.BaseModel;

import io.reactivex.rxjava3.core.Observable;

public class NewsModel extends BaseModel implements Construct.INewsModel {
    @Override
    public Observable<NewsPage> getNewsPage(int type, int page, int size) {
        return server.getNewsPage(type, page, size);
    }
}
